package org.xg.dao;

import org.springframework.stereotype.Repository;
import org.xg.domain.UserVO;

import com.googlecode.genericdao.search.Search;

@Repository
public class UserDao extends BaseDao<UserVO, String> {
	
	public UserVO findByUserName(String username){
		Search s=new Search();
		s.addFilterEqual("username", username);
		return this.searchUnique(s);
	}
	

}
